package com.zw.pdm.module.craft.service;

import com.zw.pdm.entity.com.ComTaskName;
import com.zw.pdm.entity.com.DsnTaskCommon;
import com.zw.pdm.entity.craft.CraMakeSheet;
import com.zw.pdm.entity.est.Card;
import com.zw.pdm.entity.rep.Result;
import com.zw.pdm.module.craft.mapper.ComprehensiveQueryMapper;
import com.zw.pdm.module.craft.mapper.CraftProQueryMapper;
import com.zw.pdm.module.craft.mapper.CraftReceiveMapper;
import com.zw.pdm.module.craft.model.ComprehensiveQueryModel;
import com.zw.pdm.module.craft.model.CraProQueryModel;
import com.zw.pdm.module.craft.repository.CraftMakeDetailRepository;
import com.zw.pdm.module.report.mapper.ChangeMapper;
import com.zw.pdm.module.report.mapper.PlanMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * @Description:
 * @Author: China.sgl
 * @Date: 2019/12/6 08:42
 */
@Service
@SuppressWarnings("all")
public class ComprehensiveQueryService {

    @Autowired
    private PlanMapper planMapper;
    @Autowired
    private CraftMakeDetailRepository craftMakeDetailRepository;
    @Autowired
    private CraftReceiveMapper craftReceiveMapper;
    @Autowired
    private ChangeMapper changeMapper;
    @Autowired
    private ComprehensiveQueryMapper comprehensiveQueryMapper;


    public List<ComprehensiveQueryModel> selectPro(ComprehensiveQueryModel comprehensiveQueryModel) {
        return comprehensiveQueryMapper.selectPro(comprehensiveQueryModel);
    }

    public List<ComTaskName>  findDsnComTaskName() {
        return  comprehensiveQueryMapper.findDsnComTaskName();
    }
}
